home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Windows / StrangeWindow.h < prev    next >
Text File  |  1997-06-28  |  757b  |  38 lines

  1. // StrangeWindow.h
  2.  
  3. #ifndef StrangeWindow_h
  4. #define StrangeWindow_h
  5.  
  6. #ifndef AbstractWindow_h
  7. #include "AbstractWindow.h"
  8. #endif
  9. #ifndef Assert_h
  10. #include "Assert.h"
  11. #endif
  12.  
  13. class StrangeWindow: public AbstractWindow
  14.   {
  15.     private:
  16.         WindowPtr window;
  17.     
  18.     public:
  19.         StrangeWindow( WindowPtr theWindow )
  20.           : window( theWindow )
  21.           {
  22.           }
  23.         
  24.         virtual void Update();
  25.         
  26.         virtual void Activate();
  27.         virtual void Deactivate();
  28.         
  29.         virtual void ClickContent( const MouseDownEvent& );
  30.         virtual void ClickDrag( const MouseDownEvent& );
  31.         virtual void ClickClose( const MouseDownEvent& );
  32.         virtual void ClickZoomIn( const MouseDownEvent& );
  33.         virtual void ClickZoomOut( const MouseDownEvent& );
  34.         virtual void ClickGrow( const MouseDownEvent& );
  35.   };
  36.  
  37. #endif
  38.